<div class="content">
     <h2 class="api-name">引入文件</h2>
     <textarea name="code" class="js"> 
		<script type="text/javascript" src="simpleCore.js"></script>
	 </textarea>
	 <h2 class="api-name">使用Core模块</h2>
	 <div class="part">
	 	<h3 class="api-guide">Simple.define(/*string*/name,/*function*/callback)</h3>
	 	<p class="desc"><strong>概述：</strong>声明一个静态函数，该函数会在声明结束后自执行。声明的静态函数可以被require函数装载</p>
	 	<textarea name="code" class="js"> 
			Simple.define("bird",function(){
				return {
					name:"test",
					count:10,
					getCount:function(){
						return this.count;
					}
				}
			});
			Simple.require("bird",function(b){
				Simple.log(b.name);//will print test
			});
	 	</textarea>
	 </div>
</div>

